package com.ia2011.project1.strategy;

import com.ia2011.project1.debug.Debug;
import com.ia2011.project1.service.CarpoolingService;

public class Heuristic extends Debug {

	/**
	 * Minimize the total distance traveled by the drivers
	 * @return
	 */
	final static public double H1(CarpoolingService service) {
		return service.getSumDistance().doubleValue() / (double)service.amountOfDrivers();
	}
	
	/**
	 * Minimize the total distance traveled by the drivers and minimize the number of driver
	 * @return
	 */
	final static public double H2(CarpoolingService service) {
		return 0;
	}
	
}
